package biz.obake.team.touchprotector.d.i;

import biz.obake.team.touchprotector.R;
import biz.obake.team.touchprotector.d.c;
import biz.obake.team.touchprotector.tpservice.TPService;
import java.util.List;

public class a extends biz.obake.team.touchprotector.d.b implements c.b {

    private class b {

        /* renamed from: a  reason: collision with root package name */
        boolean f1578a;

        /* renamed from: b  reason: collision with root package name */
        boolean f1579b;

        /* renamed from: c  reason: collision with root package name */
        boolean f1580c;

        /* renamed from: d  reason: collision with root package name */
        boolean f1581d;
        boolean e;
        boolean f;
        boolean g;

        private b(a aVar) {
            this.f1578a = "Locked".equals(biz.obake.team.touchprotector.g.c.c("TPService.State"));
            this.f1579b = "Unlocked".equals(biz.obake.team.touchprotector.g.c.c("TPService.State"));
            this.f1580c = b.b();
            this.f1581d = biz.obake.team.touchprotector.g.a.g("unlock_on_screen_off");
            this.e = biz.obake.team.touchprotector.g.a.g("lock_on_screen_off");
            this.f = biz.obake.team.touchprotector.g.a.g("require_pin");
            this.g = biz.obake.team.touchprotector.g.a.g("require_fingerprint");
        }
    }

    public void a(List<String> list) {
        if (new b().f1581d) {
            list.add(biz.obake.team.touchprotector.c.w(R.string.screen_unlockingway_screenoff));
        }
    }

    /* access modifiers changed from: protected */
    public void b(String str) {
        String str2;
        if (((str.hashCode() == 1690883215 && str.equals("Screen.State")) ? (char) 0 : 65535) == 0) {
            b bVar = new b();
            if (bVar.f1578a && bVar.f1580c && bVar.f1581d && !bVar.f && !bVar.g) {
                str2 = "Unlock";
            } else if (bVar.f1579b && bVar.f1580c && bVar.e) {
                str2 = "Lock";
            } else {
                return;
            }
            TPService.k(str2, "Screen");
        }
    }
}
